export default class SceneManager {
    constructor()
    {

    }
    private static _instance:SceneManager;
    
    public static get instance() : SceneManager {
        if(!this._instance)
        {
            this._instance = new SceneManager()
        }
        return this._instance
    }
    /**
     * goto
     */
    public goto(name:string,isLoading?:boolean) {
        cc.director.loadScene(name)
    }
}
